﻿using System;
using System.Drawing;
using System.Runtime.InteropServices;

namespace YArchitech.Controls.ImgListView
{
	[ComVisible(true)]
	[Serializable]
	public class VirtualItemThumbnailEventArgs
	{
		public object Key { get; private set; }

		public Size ThumbnailDimensions { get; private set; }

		public Image ThumbnailImage { get; set; }

		public VirtualItemThumbnailEventArgs(object key, Size thumbnailDimensions)
		{
			this.Key = key;
			this.ThumbnailDimensions = thumbnailDimensions;
		}
	}
}
